#include "usart3.h"

UsartRecv_t g_uart3_recev = {
	.handle = &huart3,
	.dma_handle = &hdma_usart3_rx, 
};

uint8_t usart3_send_str(uint8_t *str, int size)
{
    HAL_StatusTypeDef status;
    
    status = HAL_UART_Transmit(g_uart3_recev.handle, str, size , 0xffff);

    return status == HAL_OK ? 0 : -1;
}







